* textmodes/reftex.el (reftex-compile-variables): Make keyvals
authorTassilo Horn <tsdh@gnu.org>
Fri, 3 Aug 2012 06:47:32 +0000 (08:47 +0200)
committerTassilo Horn <tsdh@gnu.org>
Fri, 3 Aug 2012 06:47:32 +0000 (08:47 +0200)
labels regex position point at the expected place.

lisp/ChangeLog
lisp/textmodes/reftex.el

index a2d204e3329078e598cba8438e3e9906c99b61bd..fc387fb04ce3acef0f53c6080d61efe51d5eccb0 100644 (file)
@@ -1,3 +1,8 @@
+2012-08-03  Tassilo Horn  <tsdh@gnu.org>
+
+       * textmodes/reftex.el (reftex-compile-variables): Make keyvals
+       labels regex position point at the expected place.
+
 2012-08-03  MON KEY  <monkey@sandpframing.com>
 
        * net/imap.el (imap-interactive-login, imap-authenticate)
index ae2f8fb8ea25d68e4cd3afb2d4e3c53f82c36694..d8afb3e5544404e709b12419985bd406c87f22e9 100644 (file)
@@ -1291,7 +1291,7 @@ This enforces rescanning the buffer on next use."
                             ;; keyvals [..., label = {foo}, ...]
                             ;; forms used by ctable, listings,
                             ;; minted, ...
-                            "\\[[^]]*label[[:space:]]*=[[:space:]]*{?\\(?1:[^],}]+\\)}?[^[]*\\]"
+                            "\\[[^]]*label[[:space:]]*=[[:space:]]*{?\\(?1:[^],}]+\\)}?"
                             "\\)"))
            (include-re (concat wbol
                                "\\\\\\("